home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1996 May / cd joy 71No13.iso / pc / demos / eurosoc / source / netdefs.h < prev    next >
Text File  |  1995-07-26  |  2KB  |  77 lines

  1. /****************************************************************************
  2.  
  3.    File              : sosdefs.h
  4.  
  5.    Programmer(s)     : Don Fowler, Nick Skrepetos
  6.    Date              :
  7.  
  8.    Purpose           : 
  9.  
  10.    Last Updated      :
  11.  
  12. ****************************************************************************
  13.                Copyright(c) 1993,1994 Human Machine Interfaces 
  14.                             All Rights Reserved
  15. ****************************************************************************/
  16.  
  17.  
  18. #ifndef  _SOSDEFS_DEFINED
  19. #define  _SOSDEFS_DEFINED
  20.  
  21. #undef   _TRUE
  22. #undef   _FALSE
  23. #undef   TRUE
  24. #undef   FALSE
  25. #undef   _NULL
  26. enum  
  27.       { 
  28.          _FALSE, 
  29.          _TRUE 
  30.       };
  31.  
  32. enum  
  33.       { 
  34.          FALSE, 
  35.          TRUE 
  36.       };
  37.  
  38. #define  _NULL  0
  39.  
  40. #ifndef  VOID
  41. #define  VOID           void
  42. #endif
  43. typedef  int            BOOL;
  44. typedef  unsigned int   UINT;
  45. typedef  unsigned char  BYTE;
  46. typedef  unsigned short WORD;
  47. typedef  unsigned int   W32;
  48. typedef  unsigned short W16;
  49. #ifndef  LONG
  50. typedef  signed long    LONG;
  51. #endif
  52. typedef  unsigned long  DWORD;
  53.  
  54. typedef  BYTE  *        PBYTE;
  55. typedef  char near *    PSTR;
  56. typedef  WORD  *        PWORD;
  57. typedef  unsigned short  * PSHORT;
  58. typedef  LONG  *        PLONG;
  59. typedef  VOID  *        PVOID;
  60.  
  61. typedef  BYTE  far   *  LPBYTE;
  62. typedef  BYTE  far   *  LPSTR;
  63. typedef  WORD  far   *  LPWORD;
  64. typedef  W32   far   *  LPW32;
  65. typedef  LONG  far   *  LPLONG;
  66. typedef  VOID  far   *  LPVOID;
  67.  
  68. typedef  BYTE  huge  *  HPBYTE;
  69. typedef  BYTE  huge  *  HPSTR;
  70. typedef  LONG  huge  *  HPLONG;
  71. typedef  VOID  huge  *  HPVOID;
  72.  
  73. typedef  unsigned       HANDLE;
  74.  
  75. #endif
  76. 
  77.